<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>后台首页</title>
		{load href="/static/css/admin.css" /}
		<link rel="stylesheet" type="text/css" href="css/admin.css"/>
	</head>
	<body>
		<div class="head">
			<img src="/static/img/notify.svg"/>
			<span>欢迎使用小天科技商户云平台!</span>
			<span class="right">当前门店:<span class="green">{$Think.session.shopname}</span></span>
		</div>

		<div id="mycontent">
			
			<div class="dataarea">
				<div class="tit"><span>门店数据</span><span class="tips">（今日实时数据）</span></div>
				<div class="cell">
					<div>
						<div class="des">交易总额</div><div class="num">{:number_format($res['totaltransaction']/100,2,".",",")}</div>
					</div>
					<div>
						<div class="des">交易笔数</div><div class="num">{$res.transactionnumber}</div>
					</div>
					<div>
						<div class="des">外卖收入</div><div class="num">{$res.takeincome}</div>
					</div>
					<div>
						<div class="des">团购收入</div><div class="num">{$res.groupincome}</div>
					</div>
				</div>
			</div>

		</div>
	</body>
</html>
